package com.lanchetech.dao;

import com.lanchetech.bean.request.AreaPartnerPageReq;import com.lanchetech.bean.vo.AreaPartnerVO;import com.lanchetech.entity.AreaPartner;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface AreaPartnerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AreaPartner record);

    int insertSelective(AreaPartner record);

    AreaPartner selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AreaPartner record);

    int updateByPrimaryKey(AreaPartner record);

    Long countByUserId(@Param("userId") Long userId);

    List<AreaPartnerVO> findAllPage(AreaPartnerPageReq req);
}